package miny_pascal;

import testaux.*;

public class ParserUser {
    public static String fileName = "C:\\LIB\\expr.txt";

    public static void main(String[] a) throws Exception {
        /*parser p = parser.getParser(fileName);
        Integer result = (Integer)p.parse().value;
        System.out.println("Result is " + result);*/
    }

    public static Program run(String fileName) throws Exception {
        parser p = parser.getParser(fileName);
        Program result = (Program)p.parse().value;
        return result;
    }
}